home *** CD-ROM | disk | FTP | other *** search
/ Champak 119 / (Vol 119) Nov 09 2010.iso / TGKI-109 / Games / little_sister_fancy.swf / scripts / DefineButton2_109 / BUTTONCONDACTION on(press).as next >
Text File  |  2010-11-09  |  120b  |  8 lines

  1. on(press){
  2.    if(_name.substr(0,1) == "p")
  3.    {
  4.       this.swapDepths(_root.d++);
  5.       this.startDrag();
  6.    }
  7. }
  8.